package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.infrastructure.persistent.po.RuleTreeNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IRuleTreeNodeDao {
    RuleTreeNode getRuleTreeNodeByNodeId(@Param("nodeId") Long rootId);

    List<RuleTreeNode> getRuleTreeNodeByStrategyId(Long strategyId);
}
